<?
	if (isset($setupdata['modules']['letters']['is'])){
		$row = array();
		$sql = $mysqlclass->mysql_my_query("SHOW COLUMNS FROM `".$setupdata['table_prefix']."letters`", __LINE__, __FILE__);
		if (mysql_num_rows($sql) > 0) while ($r = mysql_fetch_array($sql, MYSQL_NUM)) $row[$r[0]] = $r[0];
		if (!array_key_exists('letters_unsubscribe', $row)) {
			$mysqlclass->mysql_my_query("ALTER TABLE `".$setupdata['table_prefix']."letters` ADD `letters_unsubscribe` TEXT NOT NULL AFTER `letters_footer`", __LINE__, __FILE__);
		}
	}
?>